package com.nzf.vote.entity;

import com.baomidou.mybatisplus.annotation.*;

import java.io.Serializable;
import java.time.LocalDateTime;

import lombok.Data;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 
 * </p>
 *
 * @author nzf
 * @since 2022-07-25
 */
@Data
@TableName("user_vote")
public class UserVote implements Serializable {
    @TableId(type = IdType.AUTO)
    private Integer id;
    private Integer voteId;
    private Integer userId;
    @TableField(fill = FieldFill.INSERT)
    private LocalDateTime createTime;
    private LocalDateTime updateTime;
    private String myOption;

}
